/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-08-17 17:24:44
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2022-09-02 13:12:45
 * @FilePath: \backstage\src\api\request.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import {
    req,
    reqNull,
    up
} from './index';

let url = 'http://cloud.limsapp.cn/scyj/cloudapi/'
//  登录
// export const login = (res) => {
//     return reqNull("post", url + "Base/User/loginWeb.do", res)
// }

// 管理系统
//组织机构-- 获取列表数据
export const getToken = (res) => {
    return reqNull("post", url + "msypt/user/usertoken", res)
}
// 获取项目列表
export const getProjectList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetJectData", res)
}
// 标段信息
export const gettendersList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetContractData", res)
}
// 地图拌和站信息
export const getBhList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetBhzData", res)
}
// 拌和站生产产能统计
export const getBhzProCatyList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetBhzProCatyData", res)
}
// 拌和站生产效能统计
export const getBhzProeFcyList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetBhzProeFcyData", res)
}
// 各工程项目砼生产统计
export const getBhzConcreteList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetBhzConcreteData", res)
}
// 拌和站生产质量分析
export const getBhzQualityList = (res) => {
  return req("post", url + "msyptbigscreenzjygjv1/stati/GetBhzQualityData", res)
}
